package com.xyc.test.cloud.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * 使用RibbonClient,为特定name的Ribbon Client自定义配置。
 * 使用@RibbonClient的configuration属性，指定Ribbon的配置类。
 * 可参考的示例：
 * http://spring.io/guides/gs/client-side-load-balancing/
 * Created by Administrator on 2017/9/29.
 */
@Configurable
@RibbonClient(name = "provider-user",configuration = RibbonConfiguration.class)
public class RibbonClientConfiguration {
}
